package com.sundaying.gooway.dao;

import java.util.List;

import com.sundaying.gooway.entity.User;

public interface UserDao {
	public int save(User obj);

	public int update(User obj);

	public int delete(User obj);

	public User load(int id);

	public List<User> list();

	public List<User> list(String hql, List<Object> param);

	public List<User> list(String hql, List<Object> param, int page, int rows);

	public long count(String hql, List<Object> param);
}
